package com.antifly.common.annotation;

import com.antifly.common.config.CustomRedisAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 判断是否启用redis服务
 *
 * @author LuoJiaHui
 * @date 2023/4/25 10:09
 * @description
 */
@Target(ElementType.TYPE)
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Import(CustomRedisAutoConfiguration.class)
public @interface EnableRedis {
}
